<!--
 *************************************************************************
 * The contents of this file are subject to the Openbravo  Public  License
 * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
 * Version 1.1  with a permitted attribution clause; you may not  use this
 * file except in compliance with the License. You  may  obtain  a copy of
 * the License at http://www.openbravo.com/legal/license.html
 * Software distributed under the License  is  distributed  on  an "AS IS"
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
 * License for the specific  language  governing  rights  and  limitations
 * under the License.
 * The Original Code is Openbravo ERP.
 * The Initial Developer of the Original Code is Openbravo SLU
 * All portions are Copyright (C) 2008-2012 Openbravo SLU
 * All Rights Reserved.
 * Contributor(s):  ______________________________________.
 ************************************************************************
-->

<html xmlns:="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Menu</title>
    <link rel="shortcut icon" href="../../../../../web/images/favicon.ico" type="image/x-icon" />
    <link rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Openbravo_ERP_250.css" title="StyleGrid" id="paramCSS" />
    <script language="JavaScript" src="../utility/DynamicJS.js" type="text/javascript"></script>
    <script language="JavaScript" type="text/javascript" id="paramDirectory">
      var baseDirectory = "../../../../../web/";
    </script>
    <script language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></script>
    <script language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></script>
    <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
    <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
    <script language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></script>
    <script language="JavaScript" src="../../../../../web/js/menuKeyboard.js" type="text/javascript"></script>
    <script language="JavaScript" src="../../../../../web/js/appStatus.js" type="text/javascript"></script>
    <script language="JavaScript" type="text/javascript" id="paramLanguage">defaultLang = "en_US";</script>
    <script language="JavaScript" type="text/javascript">
      function resizeMenu() {
        var mnu = document.getElementById("Menu_Client");
        var mleft = document.getElementById("MenuLeft");
        var mright = document.getElementById("MenuRight");
        var mtop = document.getElementById("MenuTop");
        var mtop2 = document.getElementById("MenuTop2");
        var mbottom = document.getElementById("MenuBottom");
        var body = document.getElementsByTagName("BODY");
        var h, w;
        if (isIE9Strict) {
          h = window.innerHeight;
          w = window.innerWidth;
        } else {
          h = body[0].clientHeight;
          w = body[0].clientWidth;
        }
        var name = window.navigator.appName;
        mnu.style.height = h -(mtop.clientHeight + mtop2.clientHeight + mbottom.clientHeight) - ((name.indexOf("Microsoft")==-1)?2:0);
        mnu.style.width = w - (mleft.clientWidth + mright.clientWidth) - ((name.indexOf("Microsoft")==-1)?2:0);
        mnu.style.display = "";
      }
    </script>
    <script language="JavaScript" type="text/javascript">
      function onLoadDo() {
        try {
          if (parent.frameMenu) {
            document.frmMenu.target = "_parent";
          } else {
            document.frmMenu.target = "_self";
          }
        } catch (e) {
          document.frmMenu.target = "_self";
        }
        resizeMenu();
      }

      function onResizeDo() {
        resizeMenu();
      }

      function onFocusDo() {
        return true;
      }

      function onBlurDo() {
        return true;
      }

    </script>
  </head>

  <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();" onfocus="onFocusDo();" onblur="onBlurDo();">
    <table border="0" cellspacing="0" cellpadding="0" summary="" width="100%" height="100%">
      <tr>
        <td rowspan="3" valign="top">
          <table class="Menu_ContentPane_Left" id="MenuLeft">
            <tr>
              <td class="Menu_NavBar_bg_left">
              </td>
            </tr>

            <tr>
              <td class="Menu_ToolBar_bg_left">
              </td>
            </tr>

            <tr>
              <td class="Menu_Client_bg_left">
              </td>
            </tr>

            <tr>
              <td class="Menu_Bottom_bg_left">
              </td>
            </tr>
          </table>
        </td>

        <td valign="top">
          <table class="Menu_ContentPane_NavBar" id="MenuTop">
            <tr>
              <td class="Menu_NavBar_bg"><img src="../../../../../web/images/blank.gif" border="0" /></td>

              <td class="Menu_NavBar_bg_logo_left"></td>

              <td class="Menu_NavBar_bg_logo" width="1"><img class="Menu_NavBar_logo" src="../../../../../web/images/blank.gif" alt="Openbravo" title="Openbravo" border="0" id="openbravoLogo"/></td>

              <td class="Menu_NavBar_bg_logo_right"></td>

              <td class="Menu_NavBar_bg"><img src="../../../../../web/images/blank.gif" border="0" /></td>
            </tr>
          </table>

          <table class="Menu_ContentPane_ToolBar Menu_ToolBar_bg" id="MenuTop2">
            <tr>
              <td width="1" class="Menu_ToolBar_textlabel_bg_left">
                <a class="Menu_ToolBar_Button" href="#" onclick="menuUserOptions();" onmouseover="window.status='User info';return true;" onmouseout="window.status='';return true;" id="buttonUserOptions"><img class="Menu_ToolBar_Button_Icon Menu_ToolBar_Button_Icon_user" src="../../../../../web/images/blank.gif" border="0" alt="User info" title="User info" /></a>
              </td>

              <td colspan="2" class="Menu_ToolBar_textlabel_bg_body"><nobr><a class="Menu_ToolBar_text_username" href="#" onclick="menuUserOptions();"><span id="fieldUserName">Loading</span></a><nobr></td>

              <td width="1" class="Menu_ToolBar_textlabel_bg_right">
                <a class="Menu_ToolBar_Button" href="#" onclick="menuQuit();" onmouseover="window.status='Close session';return true;" onmouseout="window.status='';return true;" id="buttonQuit"><img class="Menu_ToolBar_Button_Icon Menu_ToolBar_Button_Icon_logout" src="../../../../../web/images/blank.gif" border="0" alt="Close session" title="Close session" /></a>
              </td>

              <td class="Menu_ToolBar_Space"></td>

              <td width="1">
                <a class="Menu_ToolBar_Button" href="#" onclick="" onmouseover="window.status='Expand the menu';return true;" onmouseout="window.status='';return true;" id="buttonExpand"><img class="Menu_ToolBar_Button_Icon Menu_ToolBar_Button_Icon_expand" src="../../../../../web/images/blank.gif" border="0" alt="Expand the menu" title="Expand the menu" /></a>
              </td>
            </tr>

            <tr>
              <td width="1" class="Menu_ToolBar_textlabel_bg_left">
                <a class="Menu_ToolBar_Button" href="#" onclick="menuAlerts();" onmouseover="window.status='Alert Management';return true;" onmouseout="window.status='';return true;" id="buttonAlerts"><img src="../../../../../web/images/blank.gif" class="Menu_ToolBar_Button_Icon Menu_ToolBar_Button_Icon_alert" border="0" alt="Alert" title="Alert" /></a>
              </td>

              <td class="Menu_ToolBar_textlabel_bg_body"><nobr><span id="alertNotifier"><a href="#" onclick="" class="Menu_ToolBar_text_alert"><span class="Menu_ToolBar_text_alert_no" id="alertCount"></span><span>Loading</a></span></nobr></td>

              <td width="1"><img class="Menu_ToolBar_textlabel_bg_right" src="../../../../../web/images/blank.gif" border="0" /></td>

              <td width="1">
              </td>

              <td class="Menu_ToolBar_Space"></td>

              <td width="1">
              </td>
            </tr>

          </table>
        </td>

        <td rowspan="3" valign="top">
          <table class="Menu_ContentPane_Right" id="MenuRight">
            <tr>
              <td class="Menu_NavBar_bg_right">
              </td>
            </tr>

            <tr>
              <td class="Menu_ToolBar_bg_right">
              </td>
            </tr>

            <tr>
              <td class="Menu_Client_bg_right">
              </td>
            </tr>

            <tr>
              <td class="Menu_Bottom_bg_right">
              </td>
            </tr>
          </table>
        </td>
      </tr>

      <tr>
        <td valign="top">
          <div id="Menu_Client" class="Menu_ContentPane_Client" style="overflow: auto; display: none; vertical-align: middle;">
            <table cellspacing="0" cellpadding="0" id="paramMenu" class="Menu_Status_Loading_Container">
              <tr><td>
                <table>
                  <tr><td style="text-align: center;">
                    <img class="Menu_Status_Loading_logo" src="../../../../../web/images/blank.gif" border="0" alt="Loading" title="Loading"></img>
                  </tr></td>
                  <tr><td class="Menu_Status_Loading_text">Loading...</tr></td>
                </table>
              </tr></td>
            </table>
          </div>
        </td>
      </tr>

      <tr>
        <td valign="top">
          <table class="Menu_ContentPane_Bottom" id="MenuBottom">
            <tr>
              <td class="Menu_Bottom_bg">
              </td>
            </tr>
          </table>
        </td>
      </tr>
    </table>

    <form name="frmMenu" action="../security/Login_FS.html" method="post" target="_self">
      <input type="hidden" name="Command" /> <input type="hidden" name="inpSelected" value="" />
    </form>
  </body>
</html>
